package desgin.pattern.construtor.abstractfactory;

/**
 * 
 * @Type Main
 * @Desc
 * @author shuai.zuo
 * @date 2015年3月6日
 * @Version V1.0
 */
public class Main {
    public static void main(String[] args) {
        Factory f = null;

        f = new FactoryA();
        f.createProduct();
        f.createGift();
        
        f = new FactoryB();
        f.createProduct();
        f.createGift();
    }
}
